home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Show Time 4.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
819b
|
45 lines
[SUBJECT]
Description=Display the current time (4th variant)
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;var ddt4, delay;
;function debuteTemps4() {
; var hhmmss = " ", mymin, sec;
;
; delay = `delay`;
; adate = new Date();
; hhmmss += adate.getHours();
; mymin = adate.getMinutes();
; if (mymin < 10) hhmmss += " hour 0" + mymin;
; else hhmmss += " hour " + mymin;
; hhmmss = " " + hhmmss;
; document.Temps14.heure.value = hhmmss;
; ddt4 = setTimeout("debuteTemps4(delay)",delay);
;}
;// end script -->
;</script>
;
[BODY_TAG]
;onLoad="debuteTemps4()" onUnload="clearTimeout(ddt4)"
[BODY_TEXT]
;<form name="Temps14">
;<input type="text" name="heure" size="16"><br>
;</form>
;
[`delay`]
Kind=N
Value=1000